#include "entity.h"

#include "entitymanager.h"

//AddEntity
void EntityManager::AddEntity(std::shared_ptr<Entity> entity) {

	unsigned int id = entity->GetID();
	m_Entities[id] = entity;
}

//GetEntity
std::shared_ptr<Entity> EntityManager::GetEntity(unsigned int entityID) {

	return m_Entities[entityID];
}